﻿namespace WorkOrder.Model
{
    public class Model_Table_Order_record
    {
        private string _order_record_id;
        private string _order_id;
        private string _process_id;
        private string _request_time;
        private string _response_time;
        private decimal _process_time;
        private string _operator;
        private string _entry_person;
        private string _remark;
        private string _dept_id;
        private string _step_id;
        private string _order_number, _process_name, _dept_name, _entry_person_name,_step_name;

 
        /// <summary>
        /// 部门编号
        /// </summary>
        public string Dept_id { set { _dept_id = value; } get { return _dept_id; } }

        /// <summary>
        /// 工单操作记录编号
        /// </summary>
        public string Order_record_id
        {
            set { _order_record_id = value; }
            get { return _order_record_id; }
        }

        /// <summary>
        /// 工单号ID
        /// </summary>
        public string Order_id
        {
            set { _order_id = value; }
            get { return _order_id; }
        }

        /// <summary>
        /// 流程编号
        /// </summary>
        public string Process_id
        {
            set { _process_id = value; }
            get { return _process_id; }
        }

        /// <summary>
        /// 派单时间
        /// </summary>
        public string  Request_time
        {
            set { _request_time = value; }
            get { return _request_time; }
        }

        /// <summary>
        /// 回复时间
        /// </summary>
        public string Response_time
        {
            set { _response_time = value; }
            get { return _response_time; }
        }

        /// <summary>
        /// 处理时长
        /// </summary>
        public decimal Process_time
        {
            set { _process_time = value; }
            get { return _process_time; }
        }

        /// <summary>
        /// 处理人员
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }

        /// <summary>
        /// 本系统中的操作人员
        /// </summary>
        public string Entry_person
        {
            set { _entry_person = value; }
            get { return _entry_person; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        /// <summary>
        /// 工单号
        /// </summary>
        public string Order_number{set {_order_number=value;}get {return _order_number;}}

        /// <summary>
        /// 流程名称
        /// </summary>
        public string Process_name{set{_process_name=value;}get{return _process_name;}}

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Dept_name{set{_dept_name=value;}get{return _dept_name;}}

        public string Entry_person_name{set{_entry_person_name=value;}get{return _entry_person_name;}}

        /// <summary>
        /// 环节编号
        /// </summary>
        public string Step_id { set { _step_id = value; } get { return _step_id; } }

        public string Step_name { set { _step_name = value; } get { return _step_name; } }

        public Model_Table_Order_record() { }
        public Model_Table_Order_record(string order_record_id, string order_id, string process_id, 
            string request_time, string response_time, decimal process_time, string ooperator, 
            string entry_person, string remark, string dept_id, string step_id)
        {
            _order_record_id = order_record_id;
            _order_id = order_id;
            _process_id = process_id;
            _request_time = request_time;
            _response_time = response_time;
            _process_time = process_time;
            _operator=ooperator;
            _entry_person = entry_person;
            _remark = remark;
            _dept_id = dept_id;
            _step_id = step_id;
        }
    }
}
